package com.xinruke.hostels.support.generator.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "sys_diqu")
@Data
public class SysDiqu {
    public final static Integer CENGJI_SHENGFEN = 1;
    public final static Integer CENGJI_SHI = 2;
    public final static Integer CENGJI_QU  = 3;
    public final static Integer CENGJI_ZHEN = 4;
    @Id
    private Integer id;

    /**
     * 编码
     */
    private String bianma;

    /**
     * 名称
     */
    private String mingcheng;

    /**
     * 上级编码
     */
    @Column(name = "shangji_bianma")
    private String shangjiBianma;

    /**
     * 层级：1省；2市；3区/县；4镇/街道
     */
    private Integer cengji;


}